export class StorageServiceData {
    public static get getBucket() {
        return {
            input: undefined,
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/buckets',
            },
        };
    }
    public static get postBucket() {
        return {
            input: {
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/buckets',
            },
        };
    }
    public static get getObjects() {
        return {
            input: 'bucketId',
            output: {
                config: {
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: 'bucketId',
                    timeout: 60,
                },
                url: '/buckets/bucketId/objects',
            },
        };
    }
    public static get postObjects() {
        return {
            input: {
                uploadActionUrl: 'uploadActionUrl',
                signature: 'signature',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {
                    headers: {
                        Authorization: '',
                        'Content-Type': 'application/octet-stream',
                        'x-bimserver-upload-url': 'signature',
                    },
                    onUploadProgress: undefined,
                    params: {},
                    timeout: 60000000,
                },
                data: '{"testData":"testData"}',
                url: 'uploadActionUrl',
            },
        };
    }
    public static get getObjectsData() {
        return {
            input: {
                id: 'id',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/buckets/undefined/objects/id',
            },
        };
    }
    public static get getPublicObjectsData() {
        return {
            input: {
                id: 'id',
                clientId: 'clientId',
            },
            output: {
                config: {headers: undefined, params: undefined, timeout: 60},
                url: '/buckets/undefined/objects/id?client_id=clientId',
            },
        };
    }
    public static get getThumbnailSignature() {
        return {
            input: {
                testData: 'testData',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/signedObjects',
            },
        };
    }
    public static get detectFileExists() {
        return {
            input: {
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/file/detectFileExists',
            },
        };
    }
}
